html, body, #app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.el-loading-mask {
  background: transparent;
  color: #fff
}

.el-loading-mask .el-loading-spinner .el-loading-text {
  color: #20a0ff;
}

/* 首页路由切换*/
.index-enter-active, .index-leave-active {
  transition: all 0.5s;
  transform: scale(1);
}

.index-enter, .index-leave {
  transform: scale(0);
  opacity: 0;
}

/*
首页样式
*/
/*index--begin*/
.index-layout {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #0A1B39;
  position: relative;
}

/*index---end*/
/*index-page---begin*/
.index-item {
  padding: 10px;
  .index-top {
    height: 300px;
    .index-top-left {
      width: 33%;
      height: 100%;
    }
    .index-top-middle {
      width: 33%;
      height: 250px;
      margin-top: 16px;
      border: 1px solid #1b4677;
      background: linear-gradient(to top, #112a4e, #0A1B39);
      border-radius: 4px;
      position: relative;
      .radio-group {
        margin: 5px;
        border: 1px solid #50E3C2;
        width: 190px;
        height: 30px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        .radio-button {
          width: 25%;
          border-right: 1px solid #50E3C2;
          color: #fff;
          text-align: center;
          font-size: 12px;
          line-height: 28px;
          cursor: pointer;
        }
        .radio-button:last-child {
          border: 0;
        }
        .is-active{
          background: #50E3C2;
        }
      }
      .index-count-list {
        height: 100px;
        padding: 5px;
        h4 {
          color: #fff;
          font-size: 14px;
        }
        span {
          display: inline-block;
          color: #50E3C2;
          font-size: 20px;
          margin: 1px;
        }
        .info {
          background: linear-gradient(to top, #183A6B, #0A1B39);
          width: 35px;
          height: 50px;
          text-align: center;
          line-height: 50px;
          border: 1px solid #1b4677;
          border-radius: 8px;
        }
      }
    }
    .index-top-right {
      width: 33%;
      height: 100%;
      position: relative;
      ul {
        position: absolute;
        left: 48%;
        top: 33%;
        width: 280px;
        li {
          color: #fff;
          font-size: 14px;
          height: 20px;
          line-height: 20px;
          position: relative;
          margin: 5px 0;
          word-break: keep-all;
          word-wrap: break-word;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          span {
            display: inline-block;
            width: 14px;
            height: 4px;
            position: absolute;
            top: 50%;
            margin-top: -2px;
            border-radius: 1px;
          }
          em {
            color: #fff;
            margin-left: 20px;
          }
        }
      }
    }
  }
  .index-bottom {
    .index-bottom-left {
      width: 34%;
      .bottom-left-top {
        height: 300px;
        .list-left {
          width: 60%;
          height: 100%;
        }
        .list-right {
          width: 40%;
          height: 100%;
          ul {
            margin: 40% 0 0 20px;
            h4 {
              color: #fff;
            }
            span {
              color: #50E3C2;
            }
          }
        }
      }
      .bottom-left-bottom {
        height: 400px;
        position: relative;
        .radio-group {
          position: absolute;
          left: 5%;
          top: 17%;
          z-index: 5;
          border: 1px solid #50E3C2;
          width: 140px;
          height: 30px;
          -webkit-border-radius: 4px;
          -moz-border-radius: 4px;
          border-radius: 4px;
          .radio-button {
            width: 33.33%;
            border-right: 1px solid #50E3C2;
            color: #fff;
            text-align: center;
            font-size: 12px;
            line-height: 28px;
            cursor: pointer;
          }
          .radio-button:last-child {
            border: 0;
          }
          .is-active{
            background: #50E3C2;
          }
        }
      }
    }
    .index-bottom-right {
      margin-left: 1%;
      width: 65%;
      height: 700px;
      position: relative;
    }
  }
}

/*index-page---end*/
#allTrade {
  width: 100%;
  height: 300px;
}

#deviceLife {
  width: 100%;
  height: 300px;
}

#cardItem {
  width: 100%;
  height: 400px;
}

#userTotal {
  width: 100%;
  height: 300px;
}

#mapInfo {
  width: 100%;
  height: 100%;
}

/*index-menu-btn---begin*/
.index-menu-btn {
  position: absolute;
  top: 25px;
  left: 0;
  z-index: 1;
  .city-btn {
    width: 160px;
  }
  .city-btn:hover .menu-city-list {
    display: block;
  }
  .btn {
    width: 140px;
    padding: 9px 20px;
    border-radius: 25px;
    text-align: center;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    font-size: 14px;
    line-height: 1.42857143;
    cursor: pointer;
  }
  .btn:hover {
    background-color: #fff;
    color: #000;
  }
  .menu-city-list {
    display: none;
    max-height: 560px;
    width: 160px;
    margin-top: 5px;
    overflow: auto;
    border: 1px solid #4A90E2;
    .city-info {
      a {
        display: block;
        padding: 9px 20px;
        text-align: center;
        background-color: transparent;
        border-bottom: 1px solid #4A90E2;
        font-size: 14px;
        line-height: 1.42857143;
        cursor: pointer;
        color: white;
      }
      .router-link-active {
        background-color: #50E3C2;
        color: #000;
      }
      a:hover {
        background-color: #50E3C2;
        color: #000;
      }
    }
  }
}

/*index-menu-btn---end*/
